﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Judge : Game
    {
        public int useMark = 0;
        public int npcMark = 0;



        public void judge1()
        {
            Console.WriteLine(base.useNum);
            if ((base.npcNum == 1 & useNum == 2) || (npcNum == 2 & useNum == 3) || (npcNum == 3 & useNum == 1))
            {
                Console.WriteLine("{0}输了，啊？九折？", usename);
                npcMark++;
            }
            else if ((npcNum == 2 & useNum == 1) || (npcNum == 3 & useNum == 2) || (npcNum == 1 & useNum == 3))
            {
                Console.WriteLine("{0}赢了，我哭了", usename);
                useMark++;
            }
            else if (npcNum == useNum)
            {
                Console.WriteLine("平局，不服再来");
            }

        }

    }
}
